package com.querie.beans;

import java.io.Serializable;

/**
 * This is a class to create and store hash functions in the database. These are used to compute
 * hash values for the tuples touched by the user. The min hash values are then used to create min
 * hash matrix.
 * 
 * @author smittal
 *
 */
public class HashFunctions implements Serializable {

	private static final long serialVersionUID = -5951658179092113774L;
	private Long a_s[] = null;
	private Long b_s[] = null;
	private Long c_s[] = null;
	
	/**
	 * Constructor
	 * 
	 * @param numOfHashFunctions
	 */
	public HashFunctions(int numOfHashFunctions) {
		 a_s = new Long[numOfHashFunctions];
		 b_s = new Long[numOfHashFunctions];
		 c_s = new Long[numOfHashFunctions]; 
	}

	public Long[] getA_s() {
		return a_s;
	}

	public void setA_s(Long[] a_s) {
		this.a_s = a_s;
	}

	public Long[] getB_s() {
		return b_s;
	}

	public void setB_s(Long[] b_s) {
		this.b_s = b_s;
	}

	public Long[] getC_s() {
		return c_s;
	}

	public void setC_s(Long[] c_s) {
		this.c_s = c_s;
	}
}
